package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import pojo.Category;

/**
 * @description
 * @author Leon Plious
 * @date 2020年7月9日
 */

@Controller
public class CategoryController {

	@RequestMapping("/addCategory")
	public ModelAndView add(Category category) throws Exception{
		ModelAndView modelAndView = new ModelAndView("showCategory");
		
		return modelAndView;
	}
}
